package com.lucaswangdev.biz.service;

import com.lucaswangdev.biz.request.workOrder.WorkOrderCreateRequest;
import com.lucaswangdev.biz.request.workOrder.WorkOrderDeleteRequest;
import com.lucaswangdev.biz.request.workOrder.WorkOrderQueryRequest;
import com.lucaswangdev.biz.request.workOrder.WorkOrderUpdateRequest;
import com.lucaswangdev.biz.response.common.PagingResponse;
import com.lucaswangdev.model.dto.WorkOrderDTO;

public interface WorkOrderService {

    Boolean create(WorkOrderCreateRequest workOrderCreateRequest);

    PagingResponse<WorkOrderDTO> listPage(WorkOrderQueryRequest queryRequest);

    Boolean modified(WorkOrderUpdateRequest workOrderUpdateRequest);

    Boolean deleteById(WorkOrderDeleteRequest workOrderDeleteRequest);
}
